﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using JXT.PrimaryKey.Batman.Core.Security;
using JXT.PrimaryKey.Batman.Core.WcfService;

namespace JXT.PrimaryKey.Batman.WcfService.Models.UserSystem
{
    [DataContract(Namespace = ServiceEnvironment.ModelNamespace)]
    public class User : BasicUser
    {
        public string Password { get; set; }

        [DataMember]
        public UserDetail Detail { get; set; }

        [DataMember]
        public UserStatus Status { get; set; }

        [DataMember]
        public List<Role> Roles { get; set; }

        [DataMember]
        public List<Authority> Authorities { get; set; }
    }
}
